﻿@{
    string actionName = Request.RequestContext.RouteData.Values["action"].ToString().ToLower();
}
<div class="dashboard" id="dashboard">
		<ul>
        <li @Html.Raw(actionName=="index"? "class=\"current\"":"")><a href="@Url.Action("Index")">产品列表</a><span></span></li>
      @*  <li @Html.Raw(actionName == "create" ? "class=\"current\"" : "")><a href="@Url.Action("Create")">@(ViewBag.ColumnTitle)</a><span></span></li>*@
        <li @Html.Raw(actionName == "category" ? "class=\"current\"" : "")><a href="@Url.Action("Category")">分类列表</a><span></span></li>
        <li @Html.Raw(actionName == "categorycreate" ? "class=\"current\"" : "")><a href="@Url.Action("CategoryCreate")">新建分类</a><span></span></li>
        <li @Html.Raw(actionName == "brand" ? "class=\"current\"" : "")><a href="@Url.Action("Brand")">品牌列表</a><span></span></li>
        <li @Html.Raw(actionName == "brandcreate" ? "class=\"current\"" : "")><a href="@Url.Action("BrandCreate")">新建品牌</a><span></span></li>
        </ul>
</div>